package com.cn.jiyun.service.impl;

import com.cn.jiyun.ClubFeign;
import com.cn.jiyun.EntertainmentFeign;
import com.cn.jiyun.entity.pojo.Club;
import com.cn.jiyun.service.ClubService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClubServiceImpl implements ClubService {

    @Autowired
    private ClubFeign clubFeign;

    @Override
    public List<Club> findPage() {
        return clubFeign.findPage().getData();
    }
}
